package com.wingscode.modules.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wingscode.modules.common.entity.AgentEntity;
import com.wingscode.modules.common.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 企业
 *
 * @author yan
 */
@Mapper
public interface AgentDao extends BaseMapper<AgentEntity> {
    IPage<AgentEntity> getList(IPage<AgentEntity> page, @Param("company") String company, @Param("startTime") String startTime, @Param("endTime") String endTime,
                               @Param("type") Integer type, @Param("level") Integer level, @Param("isStart") Integer isStart);
}
